package com.itheima.service;

import com.itheima.pojo.CountOption;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;
import java.util.Map;

public interface StudentService {
    PageResult findStudent ( StudentQueryParam studentQueryParam );

    void saveStudent ( Student student );

    Student getStudentById (Integer id);

    void updateStudent ( Student student );

    void deleteStudent ( List<Integer> ids );

    void violation ( Integer id, Integer score );

    CountOption getStudentCountData ();

    List<Map<String, Object>> countStudentDegree ();
}
